//========================================================================
// *作者：海盗猫  主页：ilplay.com
// *脚本：EditorMenu
// *描述：EditorMenu
// *?2024 HDMCode . All rights reserved.
//* ======================================================================

using UnityEditor;

namespace HDMCode.UIFrameEditor
{
    public class EditorMenu
    {
        public static EditorMenuHandle Handle = new ();

        [MenuItem("海盗猫框架/UI框架/创建UI",false,1012)]
        public static void HandleCreatUI()
        {
            EditorCreatPage window = (EditorCreatPage)EditorWindow.GetWindow(typeof(EditorCreatPage),true,"海盗猫UI创建窗口");
            window.Show();
        }
        
        [MenuItem("海盗猫框架/UI框架/查找UI %Space",false,1013)]
        public static void HandleSearchUI()
        {
            EditorSearchPage window = (EditorSearchPage)EditorWindow.GetWindow(typeof(EditorSearchPage),true,"海盗猫UI预览窗口");
            window.Show();
        }
    }
}